<template>
   <van-config-provider theme="light" class="box">
    <div class="header">
    </div>
    <div class="content">
      <router-view></router-view>
    </div>
    <div class="footer" v-if="$route.meta.is_footer">
      <comFooter></comFooter>
    </div>
   </van-config-provider>
</template>
<script setup lang="ts">
import comFooter from './components/footer.vue'

</script>
<style lang="scss" scoped>  
.box{
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .header{
    height: 50px;
  }
  .footer{
    height: 50px;
  }
  .content{
    flex: 1;
    overflow: auto;
    padding: 5px 0;
  }
}
</style>